<%@ Reference Page="~/blog.aspx" %>
<%@ Page language="vb" Inherits="_2bMatesSite.Migrated_group" CodeFile="group.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<form id="Form1" method="post" runat="server">
	<table height="100%" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
		<tr>
			<td colspan="3">
				<table cellspacing="0" cellpadding="0" width="100%" border="0" class="page_title">
					<tr>
						<td><asp:label id="lblGroup" runat="server">Group:</asp:label></td>
						<td align="right"><asp:hyperlink id="hlGroupsMain" runat="server" navigateurl="../groups_main.aspx" cssclass="white_link">Back to Groups Main</asp:hyperlink></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr id="trUserCanceledMessage" runat=server class="hidden">
			<td align=center height="20" colspan=3><asp:label id="lblErrMessageCanceled" runat=server cssclass="err_canceled_user">This member has cancelled their membership.</asp:label></td>
		</tr>
		<tr>
			<td class="member_table_border_transparent" vAlign="top" align="center" width="340">
				<!-- Group profile -->
				<table cellSpacing="0" cellPadding="0" width="340" border="0" class="member_content">
					<tr>
						<td class="small" vAlign="top" width="80"><asp:image id="imgGroup" runat="server" CssClass="welcome_image"></asp:image></td>
						<td class="main_text" vAlign="top" align="left">							
							<asp:Label id="lblGroupModerator" runat="server">Group Moderator:</asp:Label>
							<asp:hyperlink id="hlModerator" runat="server" class="main_text"></asp:hyperlink>
							<br>
							<br>
							<asp:Label id="lblCreatedSince" runat="server">Created Since:</asp:Label>
							<asp:label id="lblGroupSince" runat="server"></asp:label>.
							<br>
							<br>
							<asp:Label id="lblGroupView" runat="server">Group Viewed:</asp:Label>
							<asp:label id="lblGroupViewed" runat="server"></asp:label><br>
							<br>
							<asp:Label id="lblLastUpdated" runat="server">Last&nbsp;Update:</asp:Label>
							<asp:label id="lblLastUpdateDate" runat="server"></asp:label>.</td>
					</tr>
					<tr>
						<td colSpan="2"><asp:hyperlink id="hlPhotos" runat="server" cssclass="main_text_bold"><asp:Label runat="server" ID="lblPhotosCount"></asp:Label>&nbsp;Photos in Album</asp:hyperlink></td>
					</tr>
					<tr>
						<td colspan="2" class="small" height="10">&nbsp;</td>
					</tr>
					<tr>
						<td class="small" colSpan="2"><img src="images/spacer.gif" width="100%" height="1" class="spacer_color"><br><img src="images/spacer.gif" width="1" height="5" class="small"></td>
					</tr>							
					<tr>
						<td class="member_favourite_content" vAlign="top" colSpan="2" style="line-height:16px;"><asp:hyperlink id="hlAddToFriends" runat="server" NavigateUrl="../#" Font-Bold="True">Join</asp:hyperlink>		
							<asp:hyperlink id="hlAddToFav" runat="server" NavigateUrl="../#" Font-Bold="True">Add to Favourites</asp:hyperlink><br>
							<asp:hyperlink id="hlSendMessage" runat="server" NavigateUrl="../#" Font-Bold="True">Send a Message</asp:hyperlink><br>
							<asp:hyperlink id="hlForwardToFriend" runat="server" NavigateUrl="../#" Font-Bold="True">Forward to a Friend</asp:hyperlink><br>
							<asp:hyperlink id="hlAddComment" runat="server" Font-Bold="True">Add Comments</asp:hyperlink><br>
							<asp:hyperlink id="hlUnsubscribe" runat="server" Font-Bold="True">Unsubscribe</asp:hyperlink><br><img src="images/spacer.gif" width="1" height="5" class="small"></td>
					</tr>
				</table>
				<!-- End Group profile -->				
				<asp:table id="tblAdminLinks" runat="server" width="315" CssClass="admin_link_padding" CellSpacing="0" CellPadding="0"></asp:table>
				<table cellSpacing="0" cellPadding="0" width="315" border="0">		
					<!-- Group Bulletin Board  -->
					<tr>
						<td class="welcome_page_title_in" width="50%"><span class="break_name"><%=groupNameOwner%></span>&nbsp;<asp:Label id="lblBulletinBoard" runat="server">Bulletin Board</asp:Label></b></td>
						<td class="welcome_page_title_in" width="50%" align="right"><asp:hyperlink id="hlAllBulletin" runat="server" CssClass="welcome_page_title_in" NavigateUrl="../#">View All Bulletin Entries&nbsp;></asp:hyperlink></td>
					</tr>
					<tr>
						<td vAlign="top" align="left" colSpan="2">
							<div class="welcome_left_padding">
							<asp:datagrid id="dgBulletins" runat="server" CellPadding="0" Width="100%" GridLines="None" AutoGenerateColumns="False">
								<ItemStyle CssClass="data_grid" VerticalAlign="Top"></ItemStyle>
								<HeaderStyle CssClass="data_grid_header"></HeaderStyle>
								<Columns>
									<asp:boundcolumn datafield="Date" headertext="Date">
										<headerstyle width="20%"></headerstyle>	
									</asp:boundcolumn>
									<asp:TemplateColumn HeaderText="From">
									<itemstyle cssclass="data_grid"></itemstyle>
									<headerstyle width="30%"></headerstyle>	
										<ItemTemplate>
											<asp:HyperLink id="hlSender" runat="server" NavigateURL='<%# DataBinder.Eval(Container.DataItem, "FriendID") %>' cssclass="member_main_text_bold" onclick='<%# DataBinder.Eval(Container.DataItem, "OnClickJS") %>'>
												<%# DataBinder.Eval(Container.DataItem, "SenderName") %>
											</asp:HyperLink>
										</ItemTemplate>
									</asp:TemplateColumn>
									<asp:TemplateColumn HeaderText="Subject">
										<headerstyle width="50%"></headerstyle>	
										<itemstyle cssclass="data_grid"></itemstyle>
										<ItemTemplate>
											<asp:HyperLink id="hlSubject" runat="server" NavigateURL='<%# DataBinder.Eval(Container.DataItem, "ViewMsgURL") %>'  cssclass="member_main_text_bold">
												<%# DataBinder.Eval(Container.DataItem, "Subject") %>
											</asp:HyperLink>
										</ItemTemplate>
									</asp:TemplateColumn>
								</Columns>
								<PagerStyle VerticalAlign="Top" Visible="False" HorizontalAlign="Right" Mode="NumericPages"></PagerStyle>
							</asp:datagrid>	<asp:label id="lblEmptyBulletins" runat="server" Visible="False" cssclass="main_text">Let your group members know what is going on!<br/></asp:label></td>
						</tr>
						<tr>
							<td colspan="2"><img src="images/spacer.gif" width="1" height="4"/></td>
						</tr>
						<tr>
							<td colspan="2"><div class="welcome_left_padding"><asp:hyperlink id="hlPostGroupBulletin" cssclass="view_all" runat="server" Font-Bold="True" NavigateUrl="#">Post new group bulletin</asp:hyperlink><br/><br/></div></td>
						</tr>
						<!-- End Group Bulletin Board  -->
						<tr>
						<td class="welcome_page_title_in" colspan="2"><b><span class="break_name"><%=groupNameOwner%></span>&nbsp;<asp:Label id="lblDetails" runat="server">Details</asp:Label></b></td>
					</tr>
					<tr>
						<td colSpan="2"><asp:table id="tblUserDetails" runat="server" CssClass="member_about_table" CellSpacing="0" CellPadding="4" Width="100%"></asp:table></td>
					</tr>
				</table>
			</td>
			<td class="small" width="10">&nbsp;</td>
			<td vAlign="top" width="419" height="100%">
				<table class="member_table_border_transparent" height="100%" cellSpacing="0" cellPadding="0" width="419" border="0">
					<tr>
						<td class="small" align="center">
							<table cellSpacing="0" cellPadding="0" width="395" border="0">							
								<tr id="trSongs" runat="server">
									<td class="small" colSpan="2">
										<table cellpadding="0" cellspacing="0" border="0" width="100%">
											<tr>
												<td class="small" height=7>&nbsp;</td>
											</tr>							
											<tr>
												<td class="welcome_page_title_in"><asp:label id="lblLive" runat="server">Live</asp:label><img src="images/both.gif" align="absmiddle" alt="Live" title="Live" /></td>
											</tr>	
											<tr>
												<td>
													<table cellpadding="0" cellspacing="0" border="0" width="100%" class="group_about_table">
														<tr>
															<td class="main_text">
															<asp:hyperlink id="hlSong1" runat="server" cssclass="main_table_bold">Song 1</asp:hyperlink><br>
															<asp:hyperlink id="hlSong2" runat="server" cssclass="main_table_bold">Song 2</asp:hyperlink><br>
															<asp:hyperlink id="hlSong3" runat="server" cssclass="main_table_bold">Song 3</asp:hyperlink><br>
															<asp:hyperlink id="hlClip" runat="server" cssclass="main_table_bold">Clip</asp:hyperlink></td>
														</tr>
													</table>
												</td>	
											</tr>
										</table>
									</td>
								</tr>
								<tr id="trEventsShowsHead" runat=server>
									<td align="right" colSpan="2">
										<table cellSpacing="0" cellPadding="0" width="100%" border="0">
											<tr>
												<td class="small" height="7"  colspan="2">&nbsp;</td>
											</tr>
											<tr>
												<td class="welcome_page_title_in"><asp:Label id="lblEventsShows" runat="server">Events &amp; Shows</asp:Label></td>
												<td class="welcome_page_title_in" align="right"><asp:HyperLink id="hlViewAllEvents" runat="server" cssclass="welcome_page_title_in">View All&nbsp;></asp:HyperLink></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr id="trEventsShows" runat=server>
									<td class="small" colSpan="2">
										<asp:table id="tblGroupEvents" runat="server" CssClass="group_about_table" CellSpacing="0" CellPadding="4" Width="100%">
										</asp:table>
									</td>
								</tr>
								<tr>
									<td class="small" height="7"  colSpan="2">&nbsp;</td>
								</tr>
								<tr>
									<td class="welcome_page_title_in" colspan=2><asp:label id="lblAbout" runat="server">Label</asp:label></td>
								</tr>
								<tr>
									<td class="small"  colSpan="2">									
										<table cellpadding="4" cellspacing="0" border="0" width="100%" class="group_about_table">
											<tr>
												<td><pre wrap style="WORD-WRAP:break-word"><asp:Label id="lblAboutGroup" runat="server">Label</asp:Label></pre></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td class="small" height="7" colSpan="2">&nbsp;</td>
								</tr>
								<tr>
									<td class="welcome_page_title_in"><span class="break_name"><%=groupNameOwner%></span>&nbsp;<asp:Label id="lblLatestBlogEntries" runat="server">Latest Blog Entries</asp:Label></td>
									<td class="welcome_page_title_in" align="right"><asp:hyperlink id="hlAllBlog" runat="server" cssclass="welcome_page_title_in">View All Blog Entries&nbsp;></asp:hyperlink></td>
								</tr>
								<tr>
									<td vAlign="top" align="left" colSpan="2">
									<div class="member_right_padding">
										<asp:datagrid id="dgBlog" runat="server" CellPadding="0" AutoGenerateColumns="False" GridLines="None" PageSize="2" Width="100%">
											<ItemStyle CssClass="data_grid" VerticalAlign="Top"></ItemStyle>
											<HeaderStyle CssClass="data_grid_header"></HeaderStyle>
											<Columns>
												<asp:BoundColumn DataField="Date" HeaderText="Date"></asp:BoundColumn>
												<asp:TemplateColumn HeaderText="Blog">
													<itemstyle cssclass="data_grid"></itemstyle>
													<ItemTemplate>
														<asp:HyperLink id=Hyperlink2 runat="server" NavigateURL='<%# DataBinder.Eval(Container.DataItem, "ViewMsgURL") %>' cssclass="main_text"><%# DataBinder.Eval(Container.DataItem, "Subject") %></asp:HyperLink>
													</ItemTemplate>
												</asp:TemplateColumn>
											</Columns>
											<PagerStyle VerticalAlign="Top" Visible="False" HorizontalAlign="Right" Mode="NumericPages"></PagerStyle>
										</asp:datagrid><br>
										<asp:label id="lblEmptyBlog" runat="server" Visible="False">Group Blog is empty.</asp:label></div></td>
								</tr>
								<tr>
									<td class="small" height="7"  colSpan="2">&nbsp;</td>
								</tr>
								<tr>
									<td class="welcome_page_title_in"><%=groupNameOwner%> <font class="dynamic_number"><%=sMembersCount%></font>&nbsp;<asp:label id="lblMembers" runat="server">Members</asp:label></td>
									<td class="welcome_page_title_in" align="right"><asp:hyperlink id="hlSeeAllMembersUp" runat="server" cssclass="welcome_page_title_in" NavigateUrl="../#">See all members&nbsp;></asp:hyperlink></td>
								</tr>
								<tr>							
									<td align="left" colSpan="2" Class="main_text">
										<div class="member_right_padding">
										<asp:label id="lblNoMembers" runat="server" Visible="False">No members are registered yet.</asp:label>
											<asp:table id="tblFriends" runat="server" width="100%" cellpadding="0" cellspacing="0">
											<asp:TableRow VerticalAlign="Top">
												<asp:TableCell VerticalAlign="Top">
													<asp:datalist id="dlAllMembers" runat="server" CssClass="data_list" CellPadding="0" Width="100%" RepeatColumns="4" HorizontalAlign="Left" BorderWidth="0px" ShowHeader="False" ShowFooter="False" RepeatDirection="Horizontal">
														<ItemStyle HorizontalAlign="Left" VerticalAlign="Top" width="25%"></ItemStyle>
														<ItemTemplate>
															<table cellspacing="0" cellpadding="0" border="0">
																<tr>
																	<td align="center"><asp:Hyperlink id="hlName" runat="server" cssclass="main_text_bold" Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>' navigateUrl='<%# DataBinder.Eval(Container.DataItem, "URL") %>' /><br>
																		<asp:Hyperlink id="hlPhoto" runat="server" CssClass="member_image" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "ImageURL") %>' navigateUrl='<%# DataBinder.Eval(Container.DataItem, "URL") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "FullName") %>'></asp:Hyperlink>																		
																		<asp:image id="imgOnline" runat="server" cssclass="online_image" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "OnlineImg") %>' ></asp:image>
																	</td>
																</tr>
															</table>															
														</ItemTemplate>
													</asp:datalist>
												</asp:TableCell>
											</asp:TableRow>
										</asp:table></div>
									</td>
								</tr>
								<tr>
									<td align="center" colspan="2">
										<table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td class="welcome_page_title_in" width="190"><%=groupNameOwner%>&nbsp;<asp:Label id="lblMembersComments" runat="server">Members Comments</asp:Label></td>
												<td class="welcome_page_title_in" align="right"><asp:hyperlink id="hlViewMoreComments" runat="server" cssclass="welcome_page_title_in">View All</asp:hyperlink><asp:label id="lblLine" runat="server" cssclass="member_page_title_in" style="padding:0px;margin:0px;font-size:12px;">&nbsp;|</asp:label><asp:hyperlink id="hlAddComment2" runat="server" cssclass="welcome_page_title_in">Add Comments&nbsp;&gt;</asp:hyperlink></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td align="left" colSpan="2" Class="main_text">
										<div class="member_right_padding">
											<asp:label id="lblNoComments" runat="server" Visible="False">There are no comments posted.</asp:label>
											<ASP:DATAGRID id="dgMessages" runat="server" AutoGenerateColumns="False" GridLines="None" PageSize="100" Width="100%" PagerStyle-HorizontalAlign="Right" PagerStyle-Mode="NumericPages" ShowHeader="False">
											<ItemStyle CssClass="data_grid" VerticalAlign="Top"></ItemStyle>
											<Columns>
												<asp:TemplateColumn>
													<HeaderStyle Width="20%"></HeaderStyle>
													<ItemStyle CssClass="col_image" HorizontalAlign="Center" VerticalAlign="Top"></ItemStyle>
													<ItemTemplate>													
														<asp:hyperlink id=hlSenderImage runat="server" CssClass="member_image" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "MemberURL") %>' ImageUrl='<%# DataBinder.Eval(Container.DataItem, "SenderImageURL") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "SenderNameFull") %>' onclick='<%# DataBinder.Eval(Container.DataItem, "OnClickJS") %>'>Image</asp:hyperlink>
														<div align="center"><asp:image id="imgOnline2" runat="server" cssclass="online_image" imageurl='<%# DataBinder.Eval(Container.DataItem, "OnlineImg") %>'></asp:image></div>	
													</ItemTemplate>
													<FooterStyle HorizontalAlign="Left" VerticalAlign="Top"></FooterStyle>
												</asp:TemplateColumn>
												<asp:TemplateColumn>
													<HeaderStyle Width="70%"></HeaderStyle>
													<ItemStyle CssClass="padding_right" VerticalAlign="Top"></ItemStyle>
													<ItemTemplate>														
														<asp:hyperlink id=hlSenderName runat="server" cssclass="main_text" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "MemberURL") %>' Font-Bold="True" Text='<%# DataBinder.Eval(Container.DataItem, "SenderNameFull") %>' onclick='<%# DataBinder.Eval(Container.DataItem, "OnClickJS") %>'></asp:hyperlink>&nbsp;&nbsp; 
														<asp:label id=lblDate runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Date") %>'></asp:label>&nbsp;<br><br>
														<PRE WRAP STYLE="word-wrap:break-word;"><asp:literal id=litComment runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Comment") %>'></asp:literal></PRE><br />
														<asp:linkbutton id=lbReject runat="server" cssclass="main_text_bold" font-bold="True" causesvalidation="False" commandargument='<%# DataBinder.Eval(Container.DataItem, "CommentID") %>' commandname="Reject" visible='<%# DataBinder.Eval(Container.DataItem, "RemoveVisibility") %>'><%# DataBinder.Eval(Container.DataItem, "RejectText") %></asp:linkbutton>&nbsp; 
														<asp:linkbutton id=lbApprove runat="server" font-bold="True" cssclass="group_text_bold" causesvalidation="False" commandargument='<%# DataBinder.Eval(Container.DataItem, "CommentID") %>' commandname="Approve" visible='<%# DataBinder.Eval(Container.DataItem, "ButtonsVisibility") %>'>Approve</asp:linkbutton>
													</ItemTemplate>
													<FooterStyle HorizontalAlign="Left" VerticalAlign="Top"></FooterStyle>
												</asp:TemplateColumn>
											</Columns>
											<PagerStyle HorizontalAlign="Right" Mode="NumericPages"></PagerStyle>
										</ASP:DATAGRID></td>
									</tr>
									<tr>
										<td colSpan="2">&nbsp;<asp:hyperlink id="hlViewMoreCommentsBottom" runat="server" cssclass="view_all">View all</asp:hyperlink> <asp:Label id="lblCommentsLine" runat=server cssclass="view_all">|</asp:Label> <asp:hyperlink id="hlAddComment3" runat="server" cssclass="view_all">Add Comments</asp:hyperlink><br><img src="images/spacer.gif" width="1" height="6" /></td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td class="small" height="100%"></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</form>
